button: Stop claiming event sequence on press
authorAlexander Mikhaylenko <alexm@gnome.org>
Fri, 25 Dec 2020 07:30:33 +0000 (12:30 +0500)
committerAlexander Mikhaylenko <alexm@gnome.org>
Fri, 29 Jan 2021 07:00:10 +0000 (12:00 +0500)
commit870b82b541d41449bbc5d90b7817d3ebbda5c715
tree7ef8a1aadd4c769af4a11f03228caa86c9008455
parent1635d9fb78274669380a4514c5a7e3568c4482c3
button: Stop claiming event sequence on press

Currently GtkButton claims the sequence both on press and on release. Stop
claiming it on press and only do it on release, allowing drags to start
from it.

This will allow to remove a hack from GtkWindowHandle.
gtk/gtkbutton.c